package homework;

import java.util.Map;

public class StudentTest {
	public static void main(String[] args) {
		SchoolClass schoolClass = new SchoolClass();
		Student student = new Student();
		student.addCourse(new Course("a"));
		student.addCourse(new Course("b"));
		Student student2 = new Student();
		student2.addCourse(new Course("b"));
		student2.addCourse(new Course("c"));

		schoolClass.addStudent(student);
		schoolClass.addStudent(student2);		

		Map<Course, Integer> map=schoolClass.accout();
		System.out.println(map);
		//student.removeCourse("a");
		//System.out.println(student);
	}
}
